[][src]Crate sophia_iri

This crate is part of Sophia, an RDF and Linked Data toolkit in Rust.

It provides functions for validating IRIs and IRI references, as well as for resolving IRI references agains a given base IRI.

Modules

error

Error and result type for IRI resolution.

resolve

Implementation of IRI resolution as per [RFC 3987].

test

Test module for sophia_iri.

Functions

is_absolute_iri_ref

Check whether txt is an absolute IRI reference.

is_relative_iri_ref

Check whether txt is a relative IRI reference.

is_valid_iri_ref

Check whether txt is a valid (absolute or relative) IRI reference.

is_valid_suffixed_iri_ref

Check whether ns and suffix concatenate into a valid (absolute or relative) IRI reference.